package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.ChangeSchoolDetail;
import com.xmy.cultivate.entity.StudentFaceData;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.entity.StudentFaceManyDetail;
import com.xmy.cultivate.respons.ResFaceData;

/**
 * <p>
 * 人脸采集 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-03-20
 */
public interface IStudentFaceDataService extends IService<StudentFaceData> {

    boolean changeSchoolUpdateFace(ChangeSchoolDetail changeSchoolDetail) throws Exception;

    boolean setData(Long schoolId, String studentId, String ossImageUrl, StudentFaceData studentFaceDataOld, Integer faceType) throws Exception;

    ResFaceData setDataForMany(Long schoolId, StudentFaceManyDetail studentFaceManyDetail, Integer faceType) throws Exception;
}
